import json

file = open("天气预报json.txt", "rt", encoding="utf-8")
str = json.load(file)

for i in str["result"]["future"][0:3]:
    print(i["temperature"], i["weather"])
file.close()
